Map Control

Description

Inserts a map control into a UX component.

Name
Description
Displaying Driving Directions on a Map Control

When you place a map on a UX Component you can call any of the various methods that map object exposes. There are quite a few different methods exposed by the map object. In this example we show how the .plotRoute() method can be used topic display a route and driving directions for a starting and ending address.

Getting a Google Maps API key

Features such as maps and geocoding are built on services provided by Google. A Google API key is required to use these features in your Alpha Anywhere applications.

Placing a Map Control on a UX Component

Place a simple map control on a UX Component and set basic properties of the map object.

images/map1.png
A Simple Map Control